<%--
  Created by IntelliJ IDEA.
  User: ymwm9
  Date: 2024/4/3
  Time: 20:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>贵美商城</title>
    <link rel="stylesheet"	type="text/css"	href="css/global.css"	/>
    <link rel="stylesheet"	type="text/css"	href="css/layout.css"	/>
    <script type="text/JavaScript">
        function multiCheck(oThis){
            var oInput=document.getElementsByTagName("input");
            for (var i=1;i<oInput.length;i++){
                oInput[i].checked=oThis.checked;}
        }
    </script>
</head>
<body>
<div id="container">
    <iframe id="header" runat="server" src="header.jsp" width="980" height="136" frameborder="0" scrolling="no"></iframe>
    <div class="catlist a_c">
        <ul class="w20p check">
            <h3><input type="checkbox" name="checkall" onclick="multiCheck(this)" />全选</h3>
            <c:forEach items="${categorys9}" var="product10" varStatus="s">
                <li><input type="checkbox" /></li>
            </c:forEach>
        </ul>

            <ul class="w20p">
                <h3>商品图片</h3>
                <c:forEach items="${categorys9}" var="product10" varStatus="s">
                <li><a href="http://localhost:8080/mall/product?action=newshow&productId=${product10.pid}"><img src="${product10.pimage}" alt="" style="width: 100px; height: 100px; object-fit: cover;"/></a></li>
                </c:forEach>
            </ul>
            <ul class="w50p info">
                <h3>商品名称/出售者/联系方式</h3>
                <c:forEach items="${categorys9}" var="product10" varStatus="s">
                <li><a href="http://localhost:8080/mall/product?action=newshow&productId=${product10.pid}">${product10.pname}</a><br />出售者：${product10.pname}官方<br /><a href="#"><img src="images/contactme.gif" alt="alt" /> <img src="images/addfav.gif" alt="收藏" />收藏</a></li>
                </c:forEach>
            </ul>
            <ul class="w10p price">
                <h3>价格</h3>
                    <c:forEach items="${categorys9}" var="product10" varStatus="s">
                <li>一口价：<br />${product10.market_price}</li>
                    </c:forEach>
            </ul>


    </div>
    <iframe id="footer" runat="server" src="footer.jsp" width="980" height="136" frameborder="0" scrolling="no"></iframe>
</div> <!--container end-->
</body>
</html>
